<%-- 
    Document   : purchaseentry
    Created on : Jan 13, 2013, 5:11:15 PM
    Author     : Bittuji
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="default.css" rel="stylesheet" type="text/css" media="screen" />
	<link rel="stylesheet" href="validationEngine.jquery.css" type="text/css"/>
        <script src="jquery-1.8.2.js" type="text/javascript">
	</script>
        <script src="jquery.validationEngine-en.js" type="text/javascript" >
	</script>
        <script src="jquery.validationEngine.js" type="text/javascript">
	</script>
        <script>
	
		jQuery(document).ready(function(){
			// binds form submission and fields to the validation engine
			jQuery("#login").validationEngine();
		});
		
		</script>
    </head>
    <body>
        <h1>Purchase Entry</h1>
        <form action="purchaseentrydb.jsp" method="post">
        <table border="0">
            <tr>
                <td>Date</td>
                <td><input type="text" class="validate[required] contact_input" name="date" id="date"/></td>
            </tr>
            <tr>
                <td>Purchase Billno</td>
                <td><input type="text" class="validate[required] contact_input" name="pbillno" id="date"/></td>
            </tr>
            <tr>
                <td>Party Name</td>
                <td><input type="text" class="validate[required] contact_input" name="prname" id="date"/></td>
            </tr>
            
            <tr>
                <td>Party Id</td>
                <td><input type="text" class="validate[required] contact_input" name="prid" id="prid"/></td>
            </tr>           
            <tr>
                <td>Purchase Date</td>
                <td><input type="text" class="validate[required] contact_input" name="purdate" id="purdate"/></td>
            </tr>
            <tr>
                <td>Transaction Date</td>
                <td><input type="text" class="validate[required] contact_input" name="trdate" id="trdate"/></td>
            </tr>
            <tr>
                <td>Credit day</td>
                <td><input type="text" class="validate[required] contact_input" name="crday" id="pbillno"/></td>
            </tr>
            <tr>
                <td>Amount</td>
                <td><input type="text" class="validate[required] contact_input" name="amt" id="amt"/></td>
            </tr>
            
            <tr>
                <td><input type="submit" name="submit"/><br/>
                    <input type="reset"/><br/></td>
            </tr>
        </table>
        </form>
    </body>
</html>

